#ifndef _op_sample_h_
#define _op_sample_h_
#include "gmod.h"


/** 
 * This function is called then the /proc file is read
 *
 */
void* my_parse(const char *buffer,unsigned long int count,void *data)
{
	printk(KERN_INFO "my_parse called \n");
	return NULL;
}

/**
 * This function is called with the /proc file is written
 *
 */
int my_run(void* input_data, void *data)
{	
	printk(KERN_INFO "my_run called\n");
	return 0;
}

struct gmod_op sample_op = {
	.name = "sample",
	.descr = "sample operation",
	.op_parse = my_parse,
	.op_run = my_run,
	.data = NULL,
	.next = NULL
};

#endif